package com.radish.springcloud.service;

import com.radish.springcloud.entities.Payment;
import org.apache.ibatis.annotations.Param;

/**
 * @author: Radish
 * @date: 2020-07-22 13:47
 */
public interface PaymentService {

    public int create(Payment payment);

    public Payment getPaymentById(@Param("id") Long id);

    public int delete(@Param("id") Long id);

    public int update(Payment payment);
}
